<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
{}

<script type="text/javascript">
    let query = {};
    console.log(123333333333+"upload")
    var urlParams = window.location.search.split('?')[1];
    urlParams = urlParams.split("&");
    for (var i = 0; i< urlParams.length; i++) {
        var param = urlParams[i].split("=");
        query[param[0]] = param[1];
    }
    var imageDialog = window.parent.document.getElementById(query['dialog_id'])
    console.log(window.location)
    console.log(query['dialog_id']);
    console.log(imageDialog)
    // console.log(imageDialog, window.parent.document, window.parent, query);
</script>
</body>
</html>